package com.shinewind.info.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shinewind.pojo.dto.PageDto;
import com.shinewind.pojo.dto.ParentCommentDto;
import com.shinewind.pojo.dto.ParentDeleteCommentDto;
import com.shinewind.pojo.entity.Comment;

import java.util.List;

public interface ICommentService extends IService<Comment> {
    public List<Comment> getCommentListById(Integer aId);
    public Long getSumLoveByUid(String uId);
    public Boolean saveParentCommentByDto(ParentCommentDto parentCommentDto);
    public Boolean deleteCommentBycId(ParentDeleteCommentDto parentDeleteCommentDto);
    public Boolean deleteChildCommentBycId(ParentDeleteCommentDto parentDeleteCommentDto);
}